export const columns = [
  { type: 'expand', slotName: 'expand' },
  { label: '指令ID', prop: 'id' },
  { label: '交易所', prop: 'platform_name' },
  { label: '合约名称', prop: 'symbol' },
  { label: '买成交率', prop: 'buy_rate' },
  { label: '卖成交率', prop: 'sell_rate' },
  { label: '指令时间', prop: 'created_at', slotName: 'time' },
  // {
  //   label: '操作',
  //   fixed: 'right',
  //   prop: 'operation',
  //   slotName: 'operation',
  //   width: 150,
  // },
];

export const innerColumns = [
  { label: '账户', prop: 'account' },
  { label: '买卖方向', prop: 'side', slotName: 'side' },
  { label: '下单价格', prop: 'price' },
  { label: '成交价格', prop: 'ave_price' },
  { label: '下单数量', prop: 'quantity' },
  { label: '成交数量', prop: 'deal_quantity' },
  { label: '订单状态', prop: 'status', slotName: 'status' },
];

export const tableData = [
  {
    id: 'ORDER20250327001',
    exchange: 'Binance',
    contractName: 'BTC/USDT',
    buyRate: '98.5%',
    sellRate: '97.2%',
    time: '2025-03-27 09:00:00',
  },
  {
    id: 'ORDER20250327002',
    exchange: 'Huobi',
    contractName: 'ETH/BTC',
    buyRate: '96.8%',
    sellRate: '95.1%',
    time: '2025-03-27 09:15:00',
  },
  {
    id: 'ORDER20250327003',
    exchange: 'OKX',
    contractName: 'BNB/USDT',
    buyRate: '99.1%',
    sellRate: '98.9%',
    time: '2025-03-27 09:30:00',
  },
  {
    id: 'ORDER20250327004',
    exchange: 'Bybit',
    contractName: 'XRP/USDT',
    buyRate: '95.3%',
    sellRate: '94.7%',
    time: '2025-03-27 10:00:00',
  },
  {
    id: 'ORDER20250327005',
    exchange: 'Coinbase',
    contractName: 'LTC/USDT',
    buyRate: '97.6%',
    sellRate: '96.8%',
    time: '2025-03-27 10:30:00',
  },
  {
    id: 'ORDER20250327006',
    exchange: 'Binance',
    contractName: 'DOGE/USDT',
    buyRate: '98.2%',
    sellRate: '97.5%',
    time: '2025-03-27 11:00:00',
  },
  {
    id: 'ORDER20250327007',
    exchange: 'Huobi',
    contractName: 'TRX/USDT',
    buyRate: '94.9%',
    sellRate: '93.6%',
    time: '2025-03-27 13:00:00',
  },
  {
    id: 'ORDER20250327008',
    exchange: 'OKX',
    contractName: 'ADA/USDT',
    buyRate: '96.4%',
    sellRate: '95.2%',
    time: '2025-03-27 14:00:00',
  },
  {
    id: 'ORDER20250327009',
    exchange: 'Bybit',
    contractName: 'SOL/USDT',
    buyRate: '98.7%',
    sellRate: '98.1%',
    time: '2025-03-27 15:30:00',
  },
  {
    id: 'ORDER20250327010',
    exchange: 'Coinbase',
    contractName: 'MATIC/USDT',
    buyRate: '97.9%',
    sellRate: '97.3%',
    time: '2025-03-27 16:00:00',
  },
];
